package cn.bai.mvc;

import java.util.List;

/**
 * Created by Admin on 12/23 0023.
 */
public interface DAO<T> {
    void update(String sql, Object... args);

    T get(String sql, Object... args);

    List<T> getList(String sql, Object... args);

    <E> E getForValue(String sql, Object... args);
}
